Lumiere\Tools\Ban_Bots S

Total Complexity 18
Dependencies 0
Dependents 1
Total lines 139
Lines of code 63
Logical lines of code 25
Comment lines 35
Methods 8
Properties 0

Methods 8

Method Rating Maintainability Complexity Lines of code
get_user_ip()
S
61 5 11
maybe_ban_useragent()
S
65 3 8
maybe_ban_ip()
S
67 3 8
maybe_ban_noreferrer()
S
72 3 5
ban_bot_now()
S
56 1 20
__construct()
S
75 1 4
lumiere_static_start()
S
80 1 3
maybe_ban_bots_general()
S
77 1 4